package com.quan.weixin.model;

import java.io.Serializable;

/**
 * 文件详细信息
 * @author yhaoquan
 *
 */
public class FileVo implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 文件保存服务器的绝对路径（文件上传的根路径）
	 */
	private String realPath ;
	
	/**
	 * 保存的目录
	 */
	private String destDir ;
	
	/**
	 * 文件名称
	 */
	private String fileName ;
	
	/**
	 * 文件扩展名
	 */
	private String fileExt ;
	
	/**
	 * 文件类型
	 */
	private String contentType ;
	
	/**
	 * 文件大小（字节）
	 */
	private long size ;
	
	/**
	 * 文件大小
	 */
	private String fileSize ;
	
	/**
	 * 文件保存到服务器上的绝对路径
	 */
	private String fullPath ;

	public FileVo() {
	}
	
	public FileVo(String realPath, String destDir, String fileName,
			String fileExt, String contentType, long size, String fileSize,
			String fullPath) {
		super();
		this.realPath = realPath;
		this.destDir = destDir;
		this.fileName = fileName;
		this.fileExt = fileExt;
		this.contentType = contentType;
		this.size = size;
		this.fileSize = fileSize;
		this.fullPath = fullPath;
	}

	@Override
	public String toString() {
		return "FileVo [realPath=" + realPath + ", destDir=" + destDir
				+ ", fileName=" + fileName + ", fileExt=" + fileExt
				+ ", contentType=" + contentType + ", size=" + size
				+ ", fileSize=" + fileSize + ", fullPath=" + fullPath + "]";
	}

	public String getRealPath() {
		return realPath;
	}

	public void setRealPath(String realPath) {
		this.realPath = realPath;
	}

	public String getDestDir() {
		return destDir;
	}

	public void setDestDir(String destDir) {
		this.destDir = destDir;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileExt() {
		return fileExt;
	}

	public void setFileExt(String fileExt) {
		this.fileExt = fileExt;
	}

	public String getContentType() {
		return contentType;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public long getSize() {
		return size;
	}

	public void setSize(long size) {
		this.size = size;
	}

	public String getFileSize() {
		return fileSize;
	}

	public void setFileSize(String fileSize) {
		this.fileSize = fileSize;
	}

	public String getFullPath() {
		return fullPath;
	}

	public void setFullPath(String fullPath) {
		this.fullPath = fullPath;
	}
	
}
